package cn.xyhelp.shop.mall.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门店表
 * </p>
 *
 * @author violetfreesia
 * @since 2022-02-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("store")
public class Store extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 门店名称
     */
    @TableField("name")
    private String name;

    /**
     * 详细地址
     */
    @TableField("address")
    private String address;

    /**
     * 电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 工作时间
     */
    @TableField("work_time")
    private String workTime;

    /**
     * 顶图地址
     */
    @TableField("head_img_url")
    private String headImgUrl;

    /**
     * 评分
     */
    @TableField("star")
    private Integer star;

    /**
     * 描述
     */
    @TableField("description")
    private String description;

    /**
     * 经度
     */
    @TableField("lon")
    private Float lon;

    /**
     * 纬度
     */
    @TableField("lat")
    private Float lat;

    /**
     * 门店商品
     */
    @TableField("logo_url")
    private String logoUrl;


}
